package com.dwxt.community.dao;

import com.dwxt.community.entity.*;
import org.apache.ibatis.annotations.*;

import java.util.*;

public interface AdTypeMapper {
    int countByExample(AdTypeExample example);

    int deleteByExample(AdTypeExample example);

    int deleteByPrimaryKey(String id);

    int insert(AdType record);

    int insertSelective(AdType record);

    List<AdType> selectByExample(AdTypeExample example);

    AdType selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") AdType record, @Param("example") AdTypeExample example);

    int updateByExample(@Param("record") AdType record, @Param("example") AdTypeExample example);

    int updateByPrimaryKeySelective(AdType record);

    int updateByPrimaryKey(AdType record);
}